$(document).ready(function () {
    var logout = localStorage.getItem("logout");
    if ("true" == logout) {
        window.location.href = basePath;
    }
});
